#ifndef CALCULATOR_H
#define CALCULATOR_H

namespace math {

class Calculator {
public:
    Calculator();
    ~Calculator();
    
    // Basic arithmetic operations
    double add(double a, double b);
    double subtract(double a, double b);
    double multiply(double a, double b);
    double divide(double a, double b);
    
    // Advanced operations
    double power(double base, int exponent);
    double squareRoot(double value);
    
private:
    bool validateDivision(double divisor);
    double computePower(double base, int exponent);
};

} // namespace math

#endif // CALCULATOR_H 